Skip to main content

1.5.3 Run a script

You have two options when you are ready to run the script:

  • At the bottom right there are two buttons, where one, "Kjør" ("Run"), runs through the script on the right side of the script area (result area)

  • The second button "Send til kommandolinjen" ("Send to command line") sends all the commands to the command window and executes them there. When the run is complete, you are automatically sent to this window. Note that whatever content you have in the command window will be replaced by the result of the new script run, so remember to save your work in the command window in the form of a script before running the new one.

All command lines in a script are executed sequentially, and the result will continuously be displayed while running. In case of any errors in the syntax, the execution will be stopped where the error is located. In such cases, the error may be corrected and the script rerun.

Note that the system "remembers" previously run command sequences. So when executing exactly the same command script over again without changes, it will only take a few seconds to retrieve the result of the run. This principle also applies if preliminary parts of a script have been run earlier, where only the last part has been edited. Then the system will "remember" what has previously been run and only use resources to work its way through the part of the script that is changed.